package com.beordie.utils;

/**
 * @Description
 * @Date 2021/12/29 16:27
 * @Created 30500
 */
public class StringUtil {
    /**
     * 首字母小写
     * @param word 源字符串
     * @return
     */
    public static String lowerCaseFisrt(String word) {
        char[] chars = word.toCharArray();
        if (chars[0] > 'A' && chars[0] < 'Z') {
            chars[0] += 32;
        }
        return new String(chars);
    }
}
